# _*_ coding: utf-8 _*_
# @Time : 2024-01-20 19:11
# @Author : wf
# 安装 ： pip install requests

import requests

base_url = 'https://2023.ip138.com/'

headers = {
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36'
}

proxy = {
    'https': '212.129.251.55:16816'
}
# response = requests.get(base_url, headers=headers, proxies=proxy)
response = requests.get(base_url, headers=headers, proxies=None)

response.encoding = 'utf-8'
print(response.text)


